﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace gnodotnet.Web.Views.Home {
    public static partial class HtmlExtensions {
        public static string ImageLink(this HtmlHelper helper, string imageFile, string altText, string url) {
            return String.Format(@"<a href=""{2}""><img src=""Content/Images/{0}"" alt=""{1}"" /></a>",
                imageFile, altText, url);
        }
    }
}